/* Bank Failure project masterfile */




*--------------------------------------*
*        Global: Directories           *
*--------------------------------------* 

* for windows
// global main_failure "C:\Users\kli\OneDrive - Credit Union National Association, Inc\Bank failure"
// global data_raw_failure "$main_failure\data_raw"
// global data_clean_failure "$main_failure\data_clean"
// global outputs_failure "$main_failure\outputs"

// global regtables_failure "$outputs_failure\regtables"
// global regtables_matched_failure "$outputs_failure\regtables_matched"
// global sumtables_failure "$outputs_failure\sumtables"
// global graphs_failure "$outputs_failure\graphs"

// global dofiles_failure "$main_failure\dofiles"
// global writeups_failure "$main_failure\writeups"


* for mac
global main_failure "/Users/likangli/Google Drive wisc/Research/Bank and Finance/Bank Failure and Subprime"
global data_raw_failure "$main_failure/data_raw"
global data_clean_failure "$main_failure/data_clean"
global outputs_failure "$main_failure/outputs"

global regtables_failure "$outputs_failure/regtables"
global sumtables_failure "$outputs_failure/sumtables"
global graphs_failure "$outputs_failure/graphs"

global dofiles_failure "$main_failure/dofiles"
global writeups_failure "$main_failure/writeups"




*--------------------------------------*
*             run dofiles              *
*--------------------------------------* 

do "$dofiles_failure/1.data_process.do"
do "$dofiles_failure/2.summary_statistics.do"

do "$dofiles_failure/3.diff_in_diff.do"
do "$dofiles_failure/4.bank size heterogeneity.do"
do "$dofiles_failure/5.matching.do"
do "$dofiles_failure/6.diff_in_diff_matched.do"


